package com.hx.sp;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by hx-pc on 17-4-25.
 */
@RestController
public class HellowController {

    @RequestMapping(value = "/hello1", method = RequestMethod.GET)
    public String hello1(String name) {
        return "{hello: '" + name + "'}" + "8201";
    }

    @RequestMapping(value = "/hello2", method = RequestMethod.GET)
    public String hello2(String name) {
        return "{hello: '" + name + "'}" + "8201";
    }
}
